package leetcode.D1000.T946;

import util.ListUtil;

/**
 * @Author: duyuzhou
 * @Create: 2022-04-07 16:21:54 星期四
 */
public class M946 {
    public static void main(String[] args) {
        int[] pushed = ListUtil.parseIntArray("[1,2,3,4,5]");
        int[] popped = ListUtil.parseIntArray("[4,5,3,1,2]");
        System.out.println(new Solution().validateStackSequences(pushed, popped));
    }
}
